Digital Library

cab1

 
Title:      METHODOLOGY AND TOOLS TO ESTIMATE SELECTORS’ PERFORMANCE OVERHEAD OF JAVASCRIPT LIBRARIES
Author(s):      Sotiris P. Christodoulou, Andreas B. Gizas
ISBN:      978-989-8533-24-1
Editors:      Pedro Isaías and Bebo White
Year:      2014
Edition:      Single
Keywords:      Javavascript Libraries selectors, performance evaluation, methodology and tools.
Type:      Full Paper
First Page:      74
Last Page:      82
Language:      English
Cover:      cover          
Full Contents:      click to dowload Download
Paper Abstract:      Since the growth of Javascript’s popularity many JavaScript libraries (JL) have become available in order to facilitate programming of rich client-side interactions in web applications. In some cases these interactions may cause non-negligible overhead on the response time of web applications, esp. on average mobile devices, that negatively influence user experience. An important fraction of this overhead is caused by some JL’s selectors on DOM elements. In this work we introduce a methodology and a set of tools to monitor JL-based web applications during run-time and detect the volume and the type of selectors actually executed. Furthermore, we analyze the selectors used in a set of 48 real web applications, classify them according to their syntax, produce a test-suite of 263 selectors to cover all possible kinds of selectors found in real world cases and evaluate the performance of these selectors on 6 popular JLs, with an enhanced version of slickspeed suite and a large set of jsperf tests. The overall aim of this work is to introduce a framework (methodology and tools), that can be used by developers to estimate the performance overhead caused by JL DOM selectors in a given web page and find out the selectors that need to be optimized.
   

Social Media Links

Search

Login